﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Pasajeros.aspx.cs" Inherits="_Pasajeros" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="estilos/estilocotizadorviajes.css" rel="stylesheet" type="text/css" />
    <style type="text/css">


.RadGrid_Office2007
{
	font:11px tahoma,verdana,arial,sans-serif;
}

.RadGrid_Office2007
{
	border:1px solid #3b5a82;
	background:#fff;
	color:#27413e;
	
	scrollbar-face-color:#E9E9E9;
	scrollbar-highlight-color:#FFFFFF;
	scrollbar-shadow-color:#E9E9E9;
	scrollbar-3dlight-color:#DBDBDB;
	scrollbar-arrow-color:#787878;
	scrollbar-track-color:#F5F5F5;
	scrollbar-darkshadow-color:#AEAEAE;
}

.MasterTable_Office2007
{
    border-collapse:separate !important;
}

.MasterTable_Office2007
{
	font:11px tahoma,verdana,arial,sans-serif;
}

.GridHeader_Office2007
{
	border-left:1px solid #9eb6ce;
	border-bottom: solid 1px #9eb6ce;
	padding-top:3px;
	padding-bottom:3px;
	background:url('mvwres://Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=5798b630e02d74fc/Telerik.Web.UI.Skins.Office2007.Grid.sprite.gif') 0 -200px repeat-x #d3dbe9;
	text-align:left;
}

.GridHeader_Office2007
{
	padding-left:4px;
	padding-right:4px;
}

.GridFooter_Office2007
{
	color:#666;
}

        .style1
        {
            width: 91px;
        }

    </style>
</head>
<body class="innercontent" text="Grabar">
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
             <table style="width:100%;">
                 <tr>
                     <td>
             <telerik:RadGrid ID="RadGridPasajeros" runat="server" AutoGenerateColumns="False"
             GridLines="None" Skin="Office2007" Width="800px">
                <ClientSettings  EnablePostBackOnRowClick="True">
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
                <MasterTableView>
                    <NoRecordsTemplate>
                        <div>
                            Adicionar Pasajeros</div>
                    </NoRecordsTemplate>
                    <RowIndicatorColumn Visible="False">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn Visible="False" Resizable="False">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridEditCommandColumn FooterText="Editar" UniqueName="EditCommandColumn"
                                HeaderText="Editar">
                        </telerik:GridEditCommandColumn>
                        <telerik:GridEditCommandColumn FooterText="Eliminar" UniqueName="EliminarCommandColumn"
                                HeaderText="Eliminar">
                        </telerik:GridEditCommandColumn>
                        <telerik:GridBoundColumn HeaderText="Nacionalidad" UniqueName="column">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Rut" UniqueName="column1">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Pasaporte" UniqueName="column2">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Nombre" UniqueName="column3">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Primer Apellido" UniqueName="column4">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Fono Contacto" UniqueName="column5">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Email" UniqueName="column6">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="Id" UniqueName="column7" Visible="False">
                        </telerik:GridBoundColumn>
                    </Columns>
                    <EditFormSettings>
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>

                        <PopUpSettings ScrollBars="None">
                        </PopUpSettings>
                    </EditFormSettings>
                </MasterTableView>
                <ClientSettings>
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
            </telerik:RadGrid>
                     </td>
                 </tr>
        </table>
     </div>
    <table style="width: 100%;">
        <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Nuevo" CssClass="cssButtonSmall" 
                    onclick="Button1_Click" />
            </td>
            <td>
                <asp:Button ID="Button2" runat="server" Text="Grabar" CssClass="cssButtonSmall" />
            </td>
            <td width="60%">
                &nbsp;
            </td>
        </tr>
    </table>
    <asp:Panel ID="Panel1" runat="server">
        <table style="width:100%;">
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label1" runat="server" Text="Nacionalidad:" CssClass="aLabel"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="DropDownList1" runat="server" Height="16px" Width="195px">
                    </asp:DropDownList>
                </td>
                <td width="30%">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label2" runat="server" Text="Rut:" CssClass="aLabel"></asp:Label>
                </td>
                <td>
                    <telerik:RadMaskedTextBox ID="RadMaskedTextBox1" Runat="server">
                    </telerik:RadMaskedTextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label3" runat="server" Text="Pasaporte:"></asp:Label>
                </td>
                <td>
                    <telerik:RadMaskedTextBox ID="RadMaskedTextBox2" Runat="server">
                    </telerik:RadMaskedTextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label4" runat="server" Text="Nombre:" CssClass="aLabel"></asp:Label>
                </td>
                <td>
                    <telerik:RadTextBox ID="RadTextBox1" Runat="server">
                    </telerik:RadTextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label5" runat="server" Text="Primer Apellido:" CssClass="aLabel"></asp:Label>
                </td>
                <td>
                    <telerik:RadTextBox ID="RadTextBox2" Runat="server">
                    </telerik:RadTextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label6" runat="server" Text="Fono:" CssClass="aLabel"></asp:Label>
                </td>
                <td>
                    <telerik:RadMaskedTextBox ID="RadMaskedTextBox3" Runat="server">
                    </telerik:RadMaskedTextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style1">
                    <asp:Label ID="Label7" runat="server" Text="Correo:" CssClass="aLabel"></asp:Label>
                </td>
                <td>
                    <telerik:RadMaskedTextBox ID="RadMaskedTextBox4" Runat="server" Width="300px">
                    </telerik:RadMaskedTextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </asp:Panel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" 
        height="75px" width="75px">
        <img alt="Loading..." 
            src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' 
            style="border:0px;" />
    </telerik:RadAjaxLoadingPanel>
    </form>
</body>
</html>
